home *** CD-ROM | disk | FTP | other *** search
/ Internet Tools (InfoMagic) / Internet Tools.iso / ip / routing / gated / gated-R3_5Alpha_10 / conf / bgp-ospf.Z / bgp-ospf
Internet Message Format  |  1995-04-19  |  2KB

  1. Date: Wed, 24 Feb 93 17:44:08 EST
  2. From: "Anthony M. Gallo" <gallo@vnet.ibm.com>
  3. To: jch@mitchell.cit.cornell.edu
  4. Subject: Sample BGP/OSPF configuration
  5.  
  6.                                         P2P
  7.                                          |
  8.         Router ID = 19.1.1.18            |  OSPF Backbone (area 0.0.0.0)
  9.         AS Number = 1019                 |
  10.                                          |  BGP IGP
  11.                                          |
  12.        Network:            119.2.128.18  | 19.1.1.19
  13.        119.2.128                   ______|______
  14.    EN  ---------------------------|             |
  15.        OSPF area 0.0.0.2          |             |      BGP External to AS 2021
  16.                                   |   Router A  |--------------------- FR
  17.        Network:                   |             | 21.1.1.21
  18.        119.4.128                  |             |
  19.    EN  ---------------------------|_____________|
  20.        OSPF area 0.0.0.2   119.4.128.18
  21.  
  22.  
  23.  
  24.  
  25.  
  26. /etc/gated.conf
  27. #####################################################################
  28. interfaces { options all passive; };
  29.  
  30. autonomoussystem 1019;
  31.  
  32. routerid 19.1.1.18;
  33.  
  34. rip no;
  35.  
  36. hello no;
  37.  
  38. egp no;
  39.  
  40. bgp yes {
  41.    preference 50;
  42.    group type
  43.       External peeras 2021
  44.   {
  45.  
  46.          peer 21.5.1.21
  47.               ;
  48.  };
  49.    group type
  50.       IGP peeras 1019
  51.   {
  52.  
  53.          peer 19.1.1.19
  54.               ;
  55.  };
  56. };
  57.  
  58. ospf yes {
  59.    area 0.0.0.2 {
  60.       authtype none;
  61.     networks {
  62.        119.0.0.0 mask 255.0.0.0;
  63.       };
  64.    interface 119.2.128.18
  65.       cost 1 {
  66.         retransmitinterval 5;
  67.         transitdelay 1;
  68.         priority 1;
  69.         hellointerval 10;
  70.         routerdeadinterval 40;
  71.       };
  72.    interface 119.4.128.18
  73.       cost 1 {
  74.         retransmitinterval 5;
  75.         transitdelay 1;
  76.         priority 1;
  77.         hellointerval 10;
  78.         routerdeadinterval 40;
  79.       };
  80.    };
  81.    backbone {
  82.       authtype none;
  83.    interface 19.1.1.19
  84.       cost 1 {
  85.         retransmitinterval 5;
  86.         transitdelay 1;
  87.         priority 1;
  88.         hellointerval 60;
  89.         routerdeadinterval 180;
  90.       };
  91.    };
  92. };
  93.  
  94. export proto ospfase type 1  {
  95.    proto bgp as 2021  {
  96.       ALL
  97.         metric 1;   };
  98.    proto direct  {
  99.       ALL
  100.         metric 1;   };
  101. };
  102.  
  103. export proto bgp as 2021 {
  104.    proto direct  {
  105.       ALL
  106.         metric 1;   };
  107.    proto ospfase  {
  108.       ALL
  109.         metric 1;   };
  110. };
  111.  
  112.